﻿using System.Configuration;
using System.Data;
using System.Windows;

namespace homework10
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        public App()
        {
            AppDbContext _content = new AppDbContext();
            _content.Database.EnsureCreated();  //创建数据库
        }
    }

}
